package cn.com.zero.common.auth.security.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * @author xiongxj
 * @version 1.0.0
 * @Description 自定义登录异常异常
 * @createTime 2023/3/21 15:44
 */
public class LoginFailureException extends AuthenticationException {

    /**
     * 构造函数
     *
     * @param msg   异常信息
     * @param cause 引起异常的原因
     */
    public LoginFailureException(String msg, Throwable cause) {
        super(msg, cause);
    }

    /**
     * 构造函数
     *
     * @param msg 异常信息
     */
    public LoginFailureException(String msg) {
        super(msg);
    }
}
